package org.desktop.web.client.timesheet.service;

import java.util.List;

import org.desktop.web.shared.domain.entities.SubProject;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("timesheet")
public interface TimesheetService extends RemoteService {
	
	/**
	 * Questo metodo verifica se sono associati subprojects ai timesheet
	 * 
	 * @param subprojects
	 * @return false se non vi sono sotto progetti associati.
	 * @throws Exception
	 */
	public boolean hasSubproject(List<SubProject> subprojects ) throws Exception;

}
